package snippet;

import java.util.ArrayList;
import java.util.List;

import javax.bluetooth.RemoteDevice;

public class Envelope {
	private List<RemoteDevice> pareados;
	
	public Envelope() {
		pareados = new ArrayList<RemoteDevice>();
	}

	public synchronized void set(RemoteDevice remoteDevice) {
		pareados.add(remoteDevice);
	}

	public synchronized List<RemoteDevice> get() {
		return pareados;
	}
}